<template>
  <view class="index">
    <view class="jtop">
      <view class="status_bar"><!-- 这里是状态栏 --></view>
      <view class="jtop_l" @tap="navigateBack"
        ><image src="../../static/img/ic_back_white.png"></image
      ></view>
      <!-- <view class="jtop_l" @tap="navigateBack">关闭</view> -->
      <view class="jtop_c">水泥</view>
      <view class="jtop_r"
        ><image src="../../static/img/ic_addw.png"></image
      ></view>
    </view>
    <view class="tophr"></view>

    <view class="ci">
      <view class="ci_b">
        <view class="ci_bt">
          目前应付(元)
        </view>
        <view class="ci_bf">
          1,000,000.00
        </view>
      </view>
      <view class="ci_b">
        <view class="ci_bt">
          预付款(元)
        </view>
        <view class="ci_bf">
          300,000.00
        </view>
      </view>
      <view class="ci_b">
        <view class="ci_bt">
          未付(元)
        </view>
        <view class="ci_bf">
          700,000.00
        </view>
      </view>
    </view>

    <view class="ml">
      <view class="ml_l ml_l01"></view>
      <view class="ml_r">
        <view class="ml_r_t">
          <view class="ml_r_tb ml_r_t01">
            <view class="ml_r_tt">
              型号
            </view>
            <view class="ml_r_tf">
              C30
            </view>
          </view>
          <view class="ml_r_tb ml_r_t02">
            <view class="ml_r_tt">
              单价
            </view>
            <view class="ml_r_tf">
              500元/m³
            </view>
          </view>
          <view class="ml_r_tb ml_r_t03">
            <view class="ml_r_tt">
              数量
            </view>
            <view class="ml_r_tf">
              100m³
            </view>
          </view>
        </view>

        <view class="ml_r_f">
          <view class="ml_r_tb ml_r_f01">
            <view class="ml_r_tt">
              总价
            </view>
            <view class="ml_r_tf">
              50,000元
            </view>
          </view>

          <view class="ml_r_tb ml_r_f02">
            <view class="ml_r_tt">
              进场时间
            </view>
            <view class="ml_r_tf">
              2020/6/27 10:00
            </view>
          </view>
        </view>
      </view>
    </view>

    <view class="ml">
      <view class="ml_l ml_l02"></view>
      <view class="ml_r">
        <view class="ml_r_t">
          <view class="ml_r_tb ml_r_t01">
            <view class="ml_r_tt">
              型号
            </view>
            <view class="ml_r_tf">
              C30
            </view>
          </view>
          <view class="ml_r_tb ml_r_t02">
            <view class="ml_r_tt">
              单价
            </view>
            <view class="ml_r_tf">
              500元/m³
            </view>
          </view>
          <view class="ml_r_tb ml_r_t03">
            <view class="ml_r_tt">
              数量
            </view>
            <view class="ml_r_tf">
              100m³
            </view>
          </view>
        </view>

        <view class="ml_r_f">
          <view class="ml_r_tb ml_r_f01">
            <view class="ml_r_tt">
              总价
            </view>
            <view class="ml_r_tf">
              50,000元
            </view>
          </view>

          <view class="ml_r_tb ml_r_f02">
            <view class="ml_r_tt">
              进场时间
            </view>
            <view class="ml_r_tf">
              2020/6/27 10:00
            </view>
          </view>
        </view>
      </view>
    </view>

    <view class="ml">
      <view class="ml_l ml_l03"></view>
      <view class="ml_r">
        <view class="ml_r_t">
          <view class="ml_r_tb ml_r_t01">
            <view class="ml_r_tt">
              型号
            </view>
            <view class="ml_r_tf">
              C30
            </view>
          </view>
          <view class="ml_r_tb ml_r_t02">
            <view class="ml_r_tt">
              单价
            </view>
            <view class="ml_r_tf">
              500元/m³
            </view>
          </view>
          <view class="ml_r_tb ml_r_t03">
            <view class="ml_r_tt">
              数量
            </view>
            <view class="ml_r_tf">
              100m³
            </view>
          </view>
        </view>

        <view class="ml_r_f">
          <view class="ml_r_tb ml_r_f01">
            <view class="ml_r_tt">
              总价
            </view>
            <view class="ml_r_tf">
              50,000元
            </view>
          </view>

          <view class="ml_r_tb ml_r_f02">
            <view class="ml_r_tt">
              进场时间
            </view>
            <view class="ml_r_tf">
              2020/6/27 10:00
            </view>
          </view>
        </view>
      </view>
    </view>

    <view class="ml">
      <view class="ml_l ml_l04"></view>
      <view class="ml_r">
        <view class="ml_r_t">
          <view class="ml_r_tb ml_r_t01">
            <view class="ml_r_tt">
              型号
            </view>
            <view class="ml_r_tf">
              C30
            </view>
          </view>
          <view class="ml_r_tb ml_r_t02">
            <view class="ml_r_tt">
              单价
            </view>
            <view class="ml_r_tf">
              500元/m³
            </view>
          </view>
          <view class="ml_r_tb ml_r_t03">
            <view class="ml_r_tt">
              数量
            </view>
            <view class="ml_r_tf">
              100m³
            </view>
          </view>
        </view>

        <view class="ml_r_f">
          <view class="ml_r_tb ml_r_f01">
            <view class="ml_r_tt">
              总价
            </view>
            <view class="ml_r_tf">
              50,000元
            </view>
          </view>

          <view class="ml_r_tb ml_r_f02">
            <view class="ml_r_tt">
              进场时间
            </view>
            <view class="ml_r_tf">
              2020/6/27 10:00
            </view>
          </view>
        </view>
      </view>
    </view>

    <!-- 弹出层 -->
    <view :class="[ashowpop ? 'tc' : 'tc hide']">
      <view class="jtop_bj" @click="jshow_pop"></view>

      <view class="tc_fbox">
        <view class="tc_fbox_bt3" @click="build_e">
          新增工种
        </view>
        <view class="tc_fbox_bt2" @click="jshow_pop">
          汇总表格导出
        </view>
        <view class="tc_fbox_bt" @click="jshow_pop">
          取消
        </view>
      </view>
    </view>
  </view>
</template>

<script>
import request from '@/common/request.js';
import { mapState } from 'vuex';

export default {
  data() {
    return {
      repeat_click: true,
      ashowpop: false,
      ashowpop_jrename: false,
      ashowpop_jdel: false,
      ashowpopT: false,
      bj: false,
      yd: false,
    };
  },

  methods: {
    to_rl() {
      uni.navigateTo({
        url: '../main/close',
      });
    },
    to_edit() {
      uni.navigateTo({
        url: '../main/bclose_list',
      });
    },

    // 跳转
    jshow_pop() {
      this.ashowpop = !this.ashowpop;
    },

    navigateBack() {
      uni.navigateBack();
    },
  },
  computed: mapState(['forcedLogin', 'hasLogin', 'userName']),
};
</script>

<style>
.ml {
  width: 100%;
  height: 250rpx;
  display: block;
  float: left;
  background: #ffffff;
  margin: 10rpx 0;
}
.ml_l {
  width: 4rpx;
  height: 250rpx;
  display: block;
  float: left;
  background: #ffaa20;
}
.ml_r {
  width: 720rpx;
  height: 250rpx;
  display: block;
  float: left;
  margin: 0 0 0 20rpx;
}
.ml_r_t {
  width: 100%;
  height: 115rpx;
  display: block;
  float: left;
}
.ml_r_f {
  width: 100%;
  height: 115rpx;
  display: block;
  float: left;
}
.ml_r_tb {
  width: 33.3333%;
  height: 125rpx;
  display: block;
  float: left;
}
.ml_r_tt {
  width: 100%;
  height: auto;
  line-height: 32rpx;
  display: block;
  float: left;
  font-size: 24rpx;
  color: #999999;
  margin: 20rpx 0 10rpx;
}
.ml_r_tf {
  width: 100%;
  height: auto;
  line-height: 40rpx;
  display: block;
  float: left;
  font-size: 32rpx;
  color: #000000;
  margin: 0rpx 0 10rpx;
}
.ml_r_f02 {
  width: 60%;
}
.ml_l04 {
  background: #2db755;
}
.ml_l03 {
  background: #539cf8;
}
.ml_l02 {
  background: #ff5b3c;
}

.bl {
  width: 100%;
  height: auto;
  display: block;
  float: left;
  background: #ffffff;
  border: 0px solid #dddddd;
  border-left: 0;
  border-right: 0;
  margin: 20rpx 0 0;
}
.blb {
  width: 720rpx;
  margin: 0 0 0rpx 30rpx;
  height: auto;
  display: block;
  float: left;
  border-bottom: 1px solid #dddddd;
}
/* .bl .blb:last-child{border: 0;} */
.blb_l {
  width: 680rpx;
  margin: 18rpx 0 0rpx 0rpx;
  height: auto;
  display: block;
  float: left;
}
.blb_r {
  width: 16rpx;
  height: 25rpx;
  display: none;
  float: right;
  margin: 43rpx 30rpx 0 0rpx;
}
.blb_lt {
  width: 100%;
  height: auto;
  line-height: 42rpx;
  display: block;
  float: left;
  font-size: 34rpx;
  color: #000000;
}
.blb_lt text {
  width: auto;
  height: auto;
  line-height: 42rpx;
  display: block;
  float: right;
  font-size: 34rpx;
  color: #000000;
}
.blb_lf {
  width: 100%;
  height: auto;
  line-height: 32rpx;
  display: block;
  float: left;
  font-size: 24rpx;
  color: #999999;
  margin: 10rpx 0 18rpx;
}

.tc {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
  display: block;
}
.jtop_bj {
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 10000;
}
.tc_fbox_bt {
  width: 100%;
  height: 90rpx;
  line-height: 90rpx;
  display: block;
  float: left;
  text-align: center;
  font-size: 36rpx;
  color: #000000;
  border-top: 20rpx solid #f2f2f2;
  background: #ffffff;
}
.tc_fbox {
  width: 100%;
  height: auto;
  display: block;
  float: left;
  background: #f2f2f2;
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 10001;
}
.tc_fbox_bt2 {
  width: 100%;
  height: 90rpx;
  line-height: 90rpx;
  display: block;
  float: left;
  text-align: center;
  font-size: 36rpx;
  color: #000000;
  border-top: 0rpx solid #f2f2f2;
  background: #ffffff;
}
.tc_fbox_bt3 {
  width: 100%;
  height: 90rpx;
  line-height: 90rpx;
  display: block;
  float: left;
  text-align: center;
  font-size: 36rpx;
  color: #000000;
  border-bottom: 1px solid #dddddd;
  background: #ffffff;
}

.tophr {
  width: 100%;
  height: 88rpx;
}
.uni-searchbar {
  box-shadow: none;
}

.ci {
  width: 690rpx;
  height: 180rpx;
  background: #ec5d78;
  padding: 30rpx;
}
.ci_b {
  width: 33%;
  height: 72rpx;
  display: block;
  float: left;
  box-sizing: border-box;
  margin: 57rpx 0 0 0;
  border-right: 1px solid rgba(255, 255, 255, 0.3);
}
.ci_bt {
  width: 100%;
  height: auto;
  color: #ffffff;
  font-size: 20rpx;
  line-height: 28rpx;
  display: block;
  float: left;
  margin: 0rpx 0 0rpx 0;
  text-align: center;
}
.ci_bf {
  width: 100%;
  height: auto;
  color: #ffffff;
  font-size: 32rpx;
  line-height: 32rpx;
  display: block;
  float: left;
  margin: 20rpx 0 0rpx 0;
  text-align: center;
}
.ci .ci_b:last-child {
  border: 0;
}

.cli {
  width: 100%;
  height: auto;
  display: block;
  float: left;
}
.clb {
  width: 720rpx;
  height: auto;
  display: block;
  float: right;
  border-bottom: 1px solid #dddddd;
  margin: 18rpx 0 0 0;
}
.clb image {
  width: 84rpx;
  height: 84rpx;
  display: block;
  float: left;
  margin: 0rpx 20rpx 18rpx 0rpx;
}
.clb_t {
  width: 600rpx;
  height: auto;
  display: block;
  float: left;
}
.clfb_tt {
  width: 100%;
  height: auto;
  color: #000000;
  font-size: 34rpx;
  line-height: 42rpx;
  display: block;
  float: left;
  margin: 0 0 10rpx 0;
}
.clfb_tf {
  width: 100%;
  height: auto;
  color: #999999;
  font-size: 24rpx;
  line-height: 32rpx;
  display: block;
  float: left;
}

.doc_bs {
  width: 100%;
  height: auto;
  display: block;
  float: left;
  background: #ffffff;
}
.doc_b {
  width: 720rpx;
  height: auto;
  display: block;
  float: left;
  background: #ffffff;
  border-bottom: 1px solid #dddddd;
  margin: 0 0 0 30rpx;
}
/* .doc_bs .doc_b:last-child{ border: 0;} */
.doc_bl {
  width: 48rpx;
  height: 48rpx;
  display: block;
  float: left;
  margin: 36rpx 30rpx 36rpx 0;
}
.doc_bt {
  width: auto;
  height: 42rpx;
  line-height: 42rpx;
  font-size: 34rpx;
  display: block;
  float: left;
  color: #000000;
  margin: 37rpx 0 0 0;
}
.doc_br {
  width: 48rpx;
  height: 48rpx;
  display: block;
  float: right;
  margin: 32rpx 30rpx 32rpx 0;
}
.doc_b2 {
  width: 600rpx;
  height: auto;
  display: block;
  float: left;
}
.doc_b2t {
  width: 600rpx;
  height: auto;
  font-size: 34rpx;
  line-height: 42rpx;
  color: #000000;
  margin: 18rpx 0 10rpx;
  display: block;
  float: left;
}
.doc_b2f {
  width: 600rpx;
  height: auto;
  font-size: 24rpx;
  line-height: 32rpx;
  color: #fc9422;
  margin: 0rpx 0 rpx;
  display: block;
  float: left;
}

.index {
  background: #f2f2f2;
  width: 100%;
  height: auto;
}
.jtop {
  width: 100%;
  height: 88rpx;
  background: #ec5d78;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}
.jtop_l {
  width: auto;
  height: 88rpx;
  display: block;
  float: left;
  font-size: 32rpx;
  color: #ffffff;
  line-height: 88rpx;
  margin: 0 0 0 30rpx;
}
.jtop_l image {
  width: 48rpx;
  height: 48rpx;
  display: block;
  float: left;
  margin: 20rpx 0 20rpx 0;
}
.jtop_lt {
  margin: 0 0 0 10rpx;
}
.jtop_r {
  width: 48rpx;
  height: 48rpx;
  display: block;
  float: right;
  margin: 20rpx 20rpx 0 0;
}
.jtop_rl {
  margin: 20rpx 30rpx 0 0;
}
.jtop_r image {
  width: 48rpx;
  height: 48rpx;
  display: block;
  float: left;
}
.jtop_c {
  width: 70%;
  height: 48rpx;
  line-height: 48rpx;
  display: block;
  float: left;
  position: fixed;
  top: 20rpx;
  left: 15%;
  text-align: center;
  font-size: 36rpx;
  color: #ffffff;
}
.jtop_c image {
  width: 36rpx;
  height: 36rpx;
  display: inline-block;
  float: none;
  margin-bottom: -5rpx;
  margin-left: 5rpx;
}
.jtop_b {
  width: 100%;
  height: auto;
  background: #ffffff;
  position: fixed;
  top: 88rpx;
  left: 0;
  z-index: 1001;
}

.doc_b22 {
  opacity: 0.5;
}

.nd {
  width: 735rpx;
  height: auto;
  display: block;
  float: left;
  margin: 0 0 0 0rpx;
}
.nd_bt {
  width: auto;
  height: 48rpx;
  display: block;
  float: right;
  border: 1px solid #dddddd;
  border-radius: 24rpx;
  margin: 40rpx 0 40rpx 30rpx;
}
.nd_bt text {
  width: auto;
  height: 48rpx;
  display: block;
  float: left;
  margin: 0 7rpx 0 18rpx;
  line-height: 48rpx;
  color: #666666;
  font-size: 24rpx;
}
.nd_bt image {
  width: 13rpx;
  height: 8rpx;
  display: block;
  float: left;
  margin: 21rpx 14rpx 0 0;
}
</style>
